cmake_minimum_required(VERSION 3.20)

project(core)

set(SCINTILLA_INCLUDE_DIR "D:/codework/BaiduSyncdisk/cpp_work/scintilla556/scintilla/include")
set(LEXILLA_INCLUDE_DIR "D:/codework/BaiduSyncdisk/cpp_work/lexilla544/lexilla/include")
set(SCINTILLA_LIB_DIR "D:/codework/BaiduSyncdisk/cpp_work/scintilla556/scintilla/bin")
set(LEXILLA_LIB_DIR "D:/codework/BaiduSyncdisk/cpp_work/lexilla544/lexilla/bin")
aux_source_directory(. SRC_LIST)

include_directories(${SCINTILLA_INCLUDE_DIR} ${LEXILLA_INCLUDE_DIR})

link_directories(${SCINTILLA_LIB_DIR} ${LEXILLA_LIB_DIR})

add_executable(${PROJECT_NAME} WIN32 ${SRC_LIST})

target_link_libraries(${PROJECT_NAME} PRIVATE cusedit::edit Scintilla lexilla)